<h1>Enregistrement</h1>
<%= error_messages_for :user %>
<% form_for :user, :url => users_path do |f| -%>
	<table>
		<tr>
			<td><label for="login">Login : </label></td>
			<td><%= f.text_field :login %></td>
		</tr>
		<tr>
			<td><label for="firstName">Prénom : </label></td>
			<td><%= f.text_field :firstName %></td>
		</tr>
		<tr>
			<td><label for="name">Nom : </label></td>
			<td><%= f.text_field :name %></td>
		</tr>
		<tr>
			<td><label for="email">Email : </label></td>
			<td><%= f.text_field :email %></td>
		</tr>
		<tr>
			<td><label for="password">Mot de passe : </label></td>
			<td><%= f.password_field :password %></td>
		</tr>
		<tr>
			<td><label for="password_confirmation">Confirmation : </label></td>
			<td><%= f.password_field :password_confirmation %></td>
		</tr>
	</table>
	
	<p><%= submit_tag "S'enregistrer" %></p>

<% end -%>
